<?php
session_start();
$autorizzato=$_SESSION['autorizzato'];
//$user_check=$_SESSION['login_user'];

//$ses_sql=mysql_query("select username from admin where username='$user_check' ");

//$row=mysql_fetch_array($ses_sql);

//$login_session=$row['username'];

if($autorizzato=="no")
{
header("Location: index.php");
}
//header("Location: index.php");
?>